home *** CD-ROM | disk | FTP | other *** search
/ The Business Master (3rd Edition) / The Business Master (3rd Edition).iso / files / utilfile / afl / afl.doc next >
Encoding:
Text File  |  1992-05-02  |  12.6 KB  |  331 lines

  1.  
  2.  
  3.  
  4.  
  5.   `                       Auto File Loader v1.3
  6.                     Copyright 1991 Shareware Solutions
  7.  
  8.  
  9.        PLEASE NOTE THE DISTRIBUTION RESTRICTIONS AND A VERY SPECIAL
  10.   OFFER AT THE END OF THIS DOCUMENT!  VERY IMPORTANT!  
  11.  
  12.  
  13.   INTRODUCTION
  14.  
  15.        The Auto File Loader program is a simple utility that I wrote
  16.   because I needed it to run some music files using the TrakBlaster
  17.   program. (A great PD program for those who have a SoundBlaster music
  18.   board.)  After adding a few features I began to realize that even
  19.   though it was simple it had some interesting possibilities.
  20.  
  21.        Basically all it does is bring up the current directory and
  22.   allow you to shell out and run any of the files with a program that
  23.   you choose.  For example the TrakBlaster program plays music files. 
  24.   The syntax for running a music file is, TRAK FILENAME.MOD.  When the
  25.   TrakBlaster program has finished playing a file it returns to DOS. 
  26.   To play another file you've got to type the command again using a
  27.   different filename.  This can be a real drag if you've got a lot of
  28.   files, hence the Auto File Loader program.  With AFL you can tag any
  29.   files you like and play them one at the time or you can have the
  30.   program play them randomly.
  31.  
  32.  
  33.   WHAT GOOD IS IT...
  34.  
  35.        So far I've found only a few good uses for this program but when
  36.   you need what this program does it's invaluable.  It's most valuable
  37.   use by far would be it's potential for running customized batch files
  38.   that perform repeated tasks on different files or directories.  
  39.  
  40.        1.   It's great for running music, graphic, and speech
  41.             files.  It's interface provides a convenient platform
  42.             for running any kind of program that executes a
  43.             function then returns to DOS.
  44.  
  45.             For example, if you use a file viewing program as the
  46.             RUN file and *.* (or *.DOC or *.TXT) as the mask you
  47.             could you could bring up all the documentation files
  48.             then tag them all and view them one after the other.
  49.  
  50.        2.   In my work I support a forty node LAN with more than
  51.             sixty users.  If you've ever worked with a LAN and
  52.             needed to add a file or make a change to a number of
  53.             files in separate directories you can easily
  54.             appreciate this program's potential. 
  55.  
  56.             By setting it's file mask to *. the program will bring
  57.             up all of the sub-directories in the current
  58.             directory.  By writing a batch file that does a simple
  59.             function you can have AFL repeat the batch file for
  60.             each user's personal directory.
  61.  
  62.             For example you might need to replace a configuration
  63.             file for thirty or forty different users.  To make
  64.             this long, drawn out task a thing of ease you would
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.             simply write a batch file that copied the new
  74.             configuration file into the users directory using the
  75.             %1 parameter. (If you don't know how to pass batch
  76.             files parameters you're missing out!  You can make
  77.             batch files do all kinds of work for you.)  You would
  78.             then run AFL using the *. file mask and use the name
  79.             of your batch file as the RUN file.  When the program
  80.             displays a directory it will list all of the sub-
  81.             directories. (It will also list any file names without
  82.             an extension.)  You can now tag any of the user's
  83.             personal directory names to pass to your batch file. 
  84.             When you press ENTER the batch file will execute for
  85.             each directory you've tagged.  Quick as a wink a
  86.             thirty minute job is over and you can go back to
  87.             reading PC magazine.
  88.  
  89.        3.   AFL makes a decent platform to run programs from, kind'ov
  90.             like a cheap imitation for a menu system.  It's one
  91.             advantage is it's ability to tag files and execute them one
  92.             at the time.  For example if you set the file mask to *.*
  93.             (or .COM or .EXE) and the RUN file to NUL (meaning nothing,
  94.             blank, etc...) you can use AFL to tag and run a few
  95.             utilities.  It can be a time saver if you want to go watch
  96.             the tube while your PC runs CHKDSK, then a virus scanner or
  97.             a disk optimization program.  
  98.  
  99.        4.   If you use a DOS command as the RUN file such as DEL or
  100.             RMDIR you can use AFL to tag files for deletion.
  101.  
  102.  
  103.        If there's any interest at all in this program (meaning
  104.   registrations) I'll try to add a feature that lets you tag programs
  105.   then enter any parameters you might wish to run them with. 
  106.  
  107.  
  108.   SET-UP, INSTALLATION, ETC...
  109.  
  110.        When you install the AFL program on your hard disk you should
  111.   copy it into a directory that can be found using the PATH command. 
  112.   The reason is that AFL brings up the directory of the currently
  113.   logged drive.  This way you'll only need one copy of AFL to run
  114.   multiple configurations.  That's about it for the installation.
  115.        The first time you run the AFL program it will try to write a
  116.   tiny little 17 byte configuration file called AFL.CFG into the
  117.   currently logged drive.  (If you run this program from a CD-ROM it
  118.   will inform you that it could not write if configuration and carry
  119.   on...)  This little file stores the name of the RUN file and the file
  120.   mask.  The first time AFL is run this file will be empty.  When you
  121.   change these options from the menu they will automatically be saved. 
  122.   By saving the configuration in the directory the program is run in
  123.   you can run AFL for different kinds of files without having to reset
  124.   the file mask and RUN file.
  125.  
  126.  
  127.   HOW TO USE AFL...
  128.  
  129.        The first thing you need to do is install it. (See above) The
  130.   next thing to do is change to the directory you wish to run it from
  131.   then type AFL and press ENTER.  From the menu you should change the
  132.   File Mask then the RUN file.
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140.  
  141.   THE FILE MASK
  142.  
  143.        The FILE MASK is simply tells the program what kind of files to
  144.   list in it's file directory.  A fike mask of *.* will display every
  145.   file in the directory.  A file mask of *. will display only the sub-
  146.   directories and any filenames that do not have extensions.  You may
  147.   include a path along with the mask.
  148.  
  149.   THE RUN FILE
  150.  
  151.        The RUN FILE is the executable file you wish to pass file names
  152.   of directory names to.  The real power of this program is when you
  153.   use a batch file to perform multiple tasks.  The run file can be
  154.   preceded with a path.
  155.  
  156.     (Note: The program automatically turns off the CAPS LOCK and NUM
  157.   LOCK keys. This is necessary for the ESC key to work properly in the
  158.   random file play mode.) 
  159.  
  160.  
  161.   1. TAG FILES TO RUN
  162.  
  163.        Selecting this option will bring up a sorted directory using the
  164.   set file mask for the currently logged directory.  Use the ARROW keys
  165.   to hi-light file names and the + and - keys to tag or untag file
  166.   names.  Pressing a letter will jump to the first filename that begins
  167.   with the pressed letter.  Press ENTER to execute the tagged files.
  168.  
  169.  
  170.   2. RUN FILES 1 AT THE TIME
  171.  
  172.        The second choice, Run files 1 at the time, works exactly the
  173.   same as the Tag files option with one difference.  This options lets
  174.   you hi-light a file then press RETURN to have it execute immediately. 
  175.   You cannot tag files using this option.  If you press a letter to
  176.   jump to a file it will execute the first one it comes to having the
  177.   letter you pressed.
  178.  
  179.  
  180.   KEY FUNCTIONS
  181.  
  182.        Use ARROW keys, PGUP, PGDN, HOME and END keys to move
  183.        around the file list.
  184.  
  185.        Use the + and - keys to tag or untag files.  (Option #1 only.)
  186.  
  187.        Press any letter to jump to a file that begins with the pressed
  188.        letter.  Subsequent presses of the same letter will jump to the
  189.        next filename beginning with the pressed letter.  (The routine
  190.        allways searches from the cursor down.)
  191.  
  192.        Press ESC to return to a previous screen.  In random play mode
  193.        press ESC twice to return to AFL.
  194.  
  195.        Press ENTER to execute the tagged or hi-lighted file(s).
  196.  
  197.        Press the SPACE BAR to tag or untag all files.
  198.  
  199.  
  200.  
  201.  
  202.  
  203.  
  204.  
  205.  
  206.  
  207.  
  208.  
  209.   1. RUN ALL FILES RANDOMLY
  210.  
  211.        This option does what it says.  It just starts executing files
  212.   at random.  It has limited use but can be handy for music or graphic
  213.   file.  It could even be used as a random selection generator.  For
  214.   example if you needed to randomly select individual names just put
  215.   each name into a batch file that echo's each name tothe screen, set
  216.   the file mask to *.BAT and the run file to null (nothing).  Now when
  217.   you select random play all the names will be displayed on the screen
  218.   randomly.  Think about it...
  219.        The only thing to note here is that pressing the ESC button
  220.   twice will allow you to exit the random routine.  If that doesn't
  221.   work pressing CTRL-BREAK will.
  222.  
  223.  
  224.   THE LEGAL STUFF
  225.  
  226.        Under no circumstances shall Shareware Solutions be liable for
  227.   any damages, including lost profits, savings, or any other incidental
  228.   or consequential damages arising out of the use of or inability to
  229.   use this program, even if Shareware Solutions has been notified of
  230.   the possibility of such damages, or for any claims by any other
  231.   party.  Copyright (C) 1991 Shareware Solutions. 
  232.  
  233.  
  234.  
  235.   SHAREWARE SOLUTIONS
  236.  
  237.   PRICING - REGISTRATION
  238.  
  239.        That's about it.  It's a simple program that does a simple job
  240.   but if you ever need it it's simply invaluable.  So If you use this
  241.   program in any kind of environment that makes your life a bit easier
  242.   it ought to be worth a few bucks, say about $10.00 for a registered
  243.   version and a clear conscience.  If you decide it's worth something
  244.   you can send your registration payment to:
  245.  
  246.  
  247.        Shareware Solutions
  248.        Michael L. Wester
  249.        Route #6 Box 34
  250.        Fuquay-Varina, N.C
  251.        27526
  252.  
  253.  
  254.   DISTRIBUTION RESTRICTIONS
  255.  
  256.        This is a shareware program.  This means share it!  You are free
  257.   to distribute evaluation copies to anyone you choose.  Disk vendors
  258.   are also encouraged to include this program in thier catalogs.  The
  259.   only restriction (and this is very important) is THIS PROGRAM MAY NOT
  260.   BE DISTRIBUTED ON A CD-ROM (compact disk) MEDIUM WITHOUT THE WRITTEN
  261.   PERMISSION OF THE AUTHOR.  Please note that we WILL persue litigation
  262.   if this copyrighted program is found on a CD-ROM without our
  263.   permission.
  264.  
  265.  
  266.   SPECIAL OFFER!
  267.  
  268.        By the way, Shareware Solutions is a small business running a
  269.  
  270.  
  271.  
  272.  
  273.  
  274.  
  275.  
  276.  
  277.   shareware software library that offers over 2800 of the latest,
  278.   greatest and absolute best shareware programs available.  (We also
  279.   sell our entire library on CD-ROM!  The CD-ROM version contains a
  280.   complete database of the entire library complete with descriptions,
  281.   the ability to print labels, the automated ability to format disks
  282.   and copy programs at the same time and a NO ROYALITY distributable
  283.   catalog so you can start your own shareware business.  It's great for
  284.   computer store owners and entrepreneurs!  You get one of the best
  285.   libraries available and a complete buisiness with almost no effort! 
  286.   If interested call us at (919)-552-0767.)  We sell copies of
  287.   shareware programs for only $3.00 per disk!  Buy 5 get 1 free!  You
  288.   ask yourself, why should I buy this stuff when I obviously can get it
  289.   for the cost of a download?  Well right off hand I can only think of
  290.   a few reasonably decent reasons.
  291.  
  292.        1.   If you're calling long distance it'll be cheaper than
  293.             downloading large files.
  294.  
  295.        2.   All of our files have been tested.  We cull the junk!
  296.  
  297.        3.   We're an ASP APPROVED VENDOR!  We get the latest software
  298.             straight from the gurus who write it.
  299.  
  300.        4.   We offer a FREE disk catalog!  It has full, honest
  301.             descriptions, program requirements, and evaluations of what
  302.             we choose to be some of the best shareware available.
  303.  
  304.  
  305.        Did you know there are over 75,000 shareware and public domain
  306.   programs?  Do you really have time to check them all out?  Did you
  307.   know that over 50% of shareware registrations are made through vendor
  308.   sales?  
  309.  
  310.  
  311.        If you're a shareware author and would like to have your program
  312.   distributed in our catalog, send us a copy!  We'll evaluate it and if
  313.   it's not too common and of a good quality we'll put it in the
  314.   catalog.  (If there are a zillion other programs that do what your's
  315.   does your's will have to be better.)
  316.  
  317.  
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324.  
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335.  
  336.  
  337.  
  338.  
  339.  
  340.  
  341.